
private var buttonToggle=false;
var currentButtonSelected:String;


function Update () {

	if(buttonToggle){
		if (Input.GetButtonDown("Slot1Team1")){
				currentButtonSelected="11";
				print("Current Button Selected: "+currentButtonSelected);
			}
		if (Input.GetButtonDown("Slot2Team1")){
				currentButtonSelected="12";
				print("Current Button Selected: "+currentButtonSelected);
			}
		if (Input.GetButtonDown("Slot3Team1")){
				currentButtonSelected= "13";
				print("Current Button Selected: "+currentButtonSelected);
			}
		if (Input.GetButtonDown("Slot4Team1")){
				currentButtonSelected="14";
				print("Current Button Selected: "+currentButtonSelected);
			}	
		if (Input.GetButtonDown("Slot5Team1")){
				currentButtonSelected="15";
				print("Current Button Selected: "+currentButtonSelected);
			}	
		if (Input.GetButtonDown("LogicSpawn")){
				currentButtonSelected="Logic";
				print("Current Button Selected: "+currentButtonSelected);
			}
		if (Input.GetButtonDown("DeceptionSpawn")){
			currentButtonSelected="Deception";
			print("Current Button Selected: "+currentButtonSelected);
		}
		if (Input.GetButtonDown("EthicsSpawn")){
			currentButtonSelected="Ethics";
			print("Current Button Selected: "+currentButtonSelected);
		}
		if (Input.GetButtonDown("PassionSpawn")){
			currentButtonSelected="Passion";
			print("Current Button Selected: "+currentButtonSelected);
		}
		
		
	}
	

}

function TurnButtonsOn(){
	this.buttonToggle=true;
}

function TurnButtonsOff(){
	this.buttonToggle=true;
}

function GetButtonToggle(){
	return buttonToggle;
}